<?php

namespace App\Exceptions;

use App\Trip\Code;
use Exception;

class UnauthorizedException extends Exception
{
    public function __construct(string $message = "登录已失效")
    {
        parent::__construct($message, Code::UNAUTHORIZED);
    }
}
